home *** CD-ROM | disk | FTP | other *** search
- FUNCTION EvalObject
- jColPos = MOD( _CUROBJ, 12)
- * Check to see if the current object is
- * in the top or bottom sections
- IF _CUROBJ < 109 && top
- * Check to see if the current object is
- * in the upper left section and not already there
- IF BETWEEN( jColPos, 1, 6) AND ;
- ! (llUp AND llLeft)
- MOVE WINDOW wrIntWind ;
- TO 0,0 && upper left quadrant
- STORE .T. TO llUp, llLeft
- STORE .F. TO llDown, llRight
- ELSE
- * Check to see if the current object is
- * in the upper right section and not already there
- IF ! BETWEEN( jColPos, 1, 6) AND ;
- ! (llUp AND llRight)
- MOVE WINDOW wrIntWind ;
- TO 0, -80 && upper right quadrant
- STORE .T. TO llUp, llRight
- STORE .F. TO llDown, llLeft
- ENDIF
- ENDIF
- ELSE && bottom
- * Check to see if the current object is
- * in the lower left section and not already there
- IF BETWEEN( jColPos, 1, 6) AND ;
- ! (llDown AND llLeft)
- MOVE WINDOW wrIntWind ;
- TO -23, 0 && lower left quadrant
- STORE .T. TO llDown, llLeft
- STORE .F. TO llUp, llRight
- ELSE
- * Check to see if the current object is
- * in the lower right section and not already there
- IF ! BETWEEN( jColPos, 1, 6) AND ;
- ! (llDown AND llRight)
- MOVE WINDOW wrIntWind
- TO -23, -80 && lower right quadrant
- STORE .T. TO llDown, llRight
- STORE .F. TO llUp, llLeft
- ENDIF
- ENDIF
- ENDIF
- SHOW GETS
-